import PostRoot from "./Root"
import PostHome from "./Home"
import PostDetail from "./Detail";
import Detailpolicy from "./Detailpolicy";
import Postdetail from "./youth";
export default {
  path: "/post",
  element: <PostRoot />,
  children: [
    {
      path: "",
      element: <PostHome />
    },
    {
      path: ":postId",
      element: <PostDetail />
    },
    {
      path: ':postId/:id',
      element:<Detailpolicy></Detailpolicy>
    }, {
      path: 'post/:index',
      element:<Postdetail></Postdetail>
    }
  ]
}